Refresh the OAuth2 provider access token using a valid refresh token. Returns a new provider session with updated access token, refresh token (if rotated by provider), and expiration information. This endpoint allows maintaining long-lived access to provider APIs without requiring the user to re-authenticate.
Bearer authentication with JWT access token. Used to authenticate requests to protected endpoints.
The name of the social provider
apple, github, google, linkedin, discord, spotify, twitch, gitlab, bitbucket, workos, azuread, entraid, strava, facebook, windowslive, twitter Provider refresh token to exchange for a new access token
Request to refresh OAuth2 provider tokens
OAuth2 provider refresh token obtained from previous authentication
"1//0gK8..."
Successfully refreshed provider tokens
OAuth2 provider session containing access and refresh tokens
OAuth2 provider access token for API calls
"ya29.a0AfH6SMBx..."
Number of seconds until the access token expires
3599
Timestamp when the access token expires
"2024-12-31T23:59:59Z"
OAuth2 provider refresh token for obtaining new access tokens (if provided by the provider)
"1//0gK8..."